<%@page import="aex.domain.Puser"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE>
<html>
<head>

<base href="<%=basePath%>">
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
<!--  -->
<!--[if lt IE 9]>
<script type="text/javascript" src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script>
<script type="text/javascript" src="http://libs.useso.com/js/respond.js/1.4.2/respond.min.js"></script>
<script type="text/javascript" src="http://cdn.bootcss.com/css3pie/2.0beta1/PIE_IE678.js"></script>
<![endif]-->
<!--[if IE 7]>
<link href="http://www.bootcss.com/p/font-awesome/assets/css/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 6]>
<script type="text/javascript" src="systemJs/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<link href="systemStyle/H-ui.css" rel="stylesheet" type="text/css" />
<link href="expandStyle/login.css" rel="stylesheet" type="text/css" />
<link href="expandStyle/aex_userPage.css" rel="stylesheet" type="text/css" />
<link href="expandStyle/index.css" rel="stylesheet" type="text/css" />


<script type="text/javascript" src="systemJs/jquery-1.8.3.min.js"></script> 
<script type="text/javascript" src="systemJs/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="systemJs/aex_admin.js"></script>



<title>${webTitle}网站管理后台</title>
</head>

<body>
	
	

 <!--导航栏-->
    
    <%
    	Puser user=(Puser)request.getSession().getAttribute("user");
    	if(user==null){
    		%>
    			<jsp:include page="/systemPage/headNavVisitor1.jsp"></jsp:include>		
    		<%
    	}else{
    		%>
				<jsp:include page="/systemPage/headNavVisitor2.jsp"></jsp:include>
    		<%
    	}
    %>


 <!--主要内容-->
  <div class="container">
    <div class="codeView">
          <form id="" action="user/puser_register.do" method="post" class="Huiform demoform">
            <div class="formRow">
              <div class="formControls">
              <div>昵称：</div>
                <input type="text" name='puName' class="input-text" tabindex="1" autocomplete="off" placeholder="昵称" datatype="*" nullmsg="请输入帐号！">
              </div>
           
            </div>
            <div class="formRow">
                 <div class="formControls">
              	<div>帐号：</div>
                <input type="text" name='puAccount' class="input-text" tabindex="1" autocomplete="off" placeholder="帐号" datatype="*" nullmsg="请输入帐号！">
              </div>
            </div>
            <div class="formRow">
              <div class="formControls">
              	<div>密码：</div>
                <input type="password" name='puPassword' class="input-text" tabindex="2" autocomplete="off" name="userpassword" placeholder="密码" datatype="*6-18" nullmsg="请输入密码" >
              </div>
            </div>
             <div class="formRow">
              <div class="formControls">
              	<div>确认密码：</div>
                <input type="password" class="input-text" tabindex="2" autocomplete="off" reck="userpassword" placeholder="密码" datatype="*6-18" nullmsg="两次输入的密码不一致！" >
              </div>
            </div>
            <div class="formRow">
              <div class="formControls">
                <div>联系电话：</div>
                <input name='puTel' type="text" class="input-text" tabindex="2" autocomplete="off" placeholder="联系电话" datatype="m" nullmsg="请输入联系电话！" >
              </div>
              <div id="note">请放心我们不会对外显示联系方式</div>
            </div>
            <div class="formRow">
              <div class="formControls">
              	<div>邮箱：</div>
                <input type="text" name='puEmail' class="input-text" tabindex="2" autocomplete="off" placeholder="密码" datatype="e" nullmsg="请输入正确的邮箱！" >
              </div>
            </div>
             <div class="formRow">
              <div class="formControls">
                <div>用户类型：</div>
                <label class="userType_box"><input type="radio" name="puLabel" class="userType" checked="checked" value="1" >普通用户</label>
                <label class="userType_box"><input type="radio" name="puLabel"  class="userType" value="2">医学专家</label>
              </div>
            </div>
            
             <div class="formRow text-r">
               <div class="formRow_Agreement"><label><input type="checkbox" checked="checked" >我已阅读并同意<a href="#">《高友帮使用协议》</a></label></div>
            </div>
            <div class="formRow text-r">
                <input class="btn radius btn-primary btn-big" id='register_btn'  type="submit" value="注 册">
            </div>
            
          </form>
        </div>
           </div>    
      <!--网站底部-->
	<jsp:include page="/systemPage/footerVisitor.jsp"></jsp:include>
<script type="text/javascript">
$("#menu_3").addClass("selected");
$(".demoform").Validform({
    tiptype:3,
    usePlugin:{
      passwordstrength:{
        minLen:6,//设置密码长度最小值，默认为0;
        maxLen:18,//设置密码长度最大值，默认为30;
        trigger:function(obj,error){
          //该表单元素的keyup和blur事件会触发该函数的执行;
          //obj:当前表单元素jquery对象;
          //error:所设密码是否符合验证要求，验证不能通过error为true，验证通过则为false;          
          //console.log(error);
          if(error){
            obj.parent().find(".Validform_checktip").show();
            obj.parent().find(".passwordStrength").hide();
          }else{
            obj.parent().find(".passwordStrength").show();  
          }
        }
      }
    }
})
</script>
</body>

</html>
